SftTree/NET 2.0

BackColor Property, ItemClass Class

Softel vdm, Inc.

Defines the background color of the item's cells.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Property BackColor As Color

C#   

public Color BackColor { get; set; }

C++   

public: property Color BackColor {
        Color get();
        void set(Color value);
}

Property Value

The background color or Color.Empty.

The default value is Color.Empty.

Comments

The BackColor property defines the background color of the item's cells.

If the background color is set to Color.Empty, the following properties are used instead: ColumnClass.BackColor, BackColorOdd or BackColor for items, Headers.BackColor for column headers, Footers.BackColor for column footers. Individual cells can define their background color using the CellBaseClass.BackColor property.

If an item is considered selected, the BackColorSelected property is used to define the background color instead.

Depending on the cell's Appearance property, the BackColor property settings may have no effect.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com